// types/menu.ts
export interface MenuNode {
  id: string;
  title: string;
  href?: string;
  icon?: string;
  hidden?: "0" | "1";
  inOrOutTable?: "0" | "1";
  type: number; // 0: 菜单, 1: 按钮
  permission?: string;
  sort: number;
  select?:string;
  parentId?: string | null;
  children?: MenuNode[];
  createTime?: string;
  remarks?:string
}